package com.cloudkinto.common.constant;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2019/7/2
 */
public class GlobalConstants {
    /****时间转换格式*/
    public static final String TIME_FORMAT_STR = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'";


    public static final String JWTKEY = "kintocloud20190909suzhouweibang";
    public static final String AESKEY = "zxmd2013qazwsx12";

    //qoo获取key的url
    public static final String QOO_KEY_URL = "http://api.qoo10.jp/GMKT.INC.Front.QAPIService/ebayjapan.qapi?key={key}&v=1.0&returnType=json&method=CertificationAPI.CreateCertificationKey&user_id={id}&pwd={pwd}";
    //    public static final String QOO_KEY_URL = "http://api.qoo10.jp/GMKT.INC.Front.QAPIService/ebayjapan.qapi?key=BhiQeRsAhG3oI1ijUAaRCywudZ11OvoDYKtzZ6eaduw_g_3_&v=1.0&returnType=json&method=CertificationAPI.CreateCertificationKey&user_id=zeeseaofficial&pwd=ZEESEAyueran2020";
    //qoo同步订单的url
    public static final String QOO_DOWNLOAD_URL = "http://api.qoo10.jp/GMKT.INC.Front.QAPIService/ebayjapan.qapi?key={key}&v={v}&returnType={returnType}&method={method}&ShippingStat={ShippingStat}&search_Sdate={search_Sdate}&search_Edate={search_Edate}";


    //12小时后过期
    public final static int EXPIRE = 60 * 60 * 24 * 7;
    public static final long DEFAULT_TIMEOUT = 60 * 1000;
    public static final String NUMBER_ZERO_STR = "0";
    public static final String NUMBER_ONE_STR = "1";
    public static final String NUMBER_TWO_STR = "2";
    public static final String NUMBER_THREE_STR = "3";
    public static final String NUMBER_FOUR_STR = "4";
    public static final String NUMBER_FIVE_STR = "5";
    public static final Integer NUMBER_ZERO = 0;
    public static final Integer NUMBER_ONE = 1;
    public static final Integer NUMBER_TWO = 2;
    public static final Integer NUMBER_THREE = 3;
    public static final Integer NUMBER_FOUR = 4;
    public static final Integer NUMBER_FIVE = 5;
    public static final String SERVICE_MAIL_ADDRESS = "service@cloudkinto.com";
    public static final int BILL_NOTE_DELAY_DAYS = 0;
    public static final String APP_Serect_WX = "1f7a8759ada6a8e40cc89f89976d3fb4";
    public static final String APP_ID_WX = "wx347352c84adb0cc6";
    public static final String APPLet_Serect_WX = "ee232fe40e0abb0537d42c6401a047a7";
    public static final String APPLet_ID_WX = "wx7316ea3f18611ab6";
    public static final String APP_ID_WX_PAY = "1604491409";

    public static final int IN_OUT_PUT_FEE = 750;
    public static final int SHIP_PRICE_COMMON = 2;

    //微信平台证书序列号
    public static String WXPAY_PLATFORM_NO = "67E31652A0980B8C2870371765FD4E746F6E7313";
    //微信平台证书-公钥
    public static String PLATFORM_CERTIFICATE = "-----BEGIN CERTIFICATE-----\n" +
            "MIID3DCCAsSgAwIBAgIUZ+MWUqCYC4wocDcXZf1OdG9ucxMwDQYJKoZIhvcNAQEL\n" +
            "BQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsT\n" +
            "FFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3Qg\n" +
            "Q0EwHhcNMjEwMjA1MDgwOTE3WhcNMjYwMjA0MDgwOTE3WjBuMRgwFgYDVQQDDA9U\n" +
            "ZW5wYXkuY29tIHNpZ24xEzARBgNVBAoMClRlbnBheS5jb20xHTAbBgNVBAsMFFRl\n" +
            "bnBheS5jb20gQ0EgQ2VudGVyMQswCQYDVQQGDAJDTjERMA8GA1UEBwwIU2hlblpo\n" +
            "ZW4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQClq3xP3CAdzha+evWZ\n" +
            "03nnV+xEIOAGgvejrrPdpY7Qv2JlG+MhU04Lz8YmxiJr1qkYDlz0YBraDIpZBaey\n" +
            "NyRtRcZfypGWJ3hUt+1fehNXtoV0g2a7aEiA0BcCDVFnny5nfQEIRMEU+g7A1xzO\n" +
            "95zK8NMAMWPeAjUT8drxq2Es5uq8xnLcV+Llr7FmTGsrfXMWzzEbg/x5jgRhYuwL\n" +
            "/lYO43epqZpcvjOgS2X9Pol92Nn7CUXZpyonSB2UGqOARxAWQibI+boB5/KJYDNM\n" +
            "cCdBgQNlIsgR8B3DOdRh8uJV0ngh4elsZJOTvxre9jSZIihuZj7D5OHam5/1moVz\n" +
            "Mf3PAgMBAAGjgYEwfzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIE8DBlBgNVHR8EXjBc\n" +
            "MFqgWKBWhlRodHRwOi8vZXZjYS5pdHJ1cy5jb20uY24vcHVibGljL2l0cnVzY3Js\n" +
            "P0NBPTFCRDQyMjBFNTBEQkMwNEIwNkFEMzk3NTQ5ODQ2QzAxQzNFOEVCRDIwDQYJ\n" +
            "KoZIhvcNAQELBQADggEBALU2XyY4io7+eCx/oq/OLM5jeLv7Cha9+rk8fd4Zeiac\n" +
            "VZP3f79mviKRDs0U70otQwFaD12LxmYg5ePDWzYpfzFKCxVy5qk2TEZ5Bib7HNQH\n" +
            "lzEdyOnbqpxj2Z1K3ArxR5SJ+EyNV9BacYTLQA4r1vIVBd8kJrXYRTKak2rMTYOb\n" +
            "m9kN+pOVmqZ8gAy30CPjYnY2cPcMx2oYmRCVHapfooAdc6bKj+GaJlhf2auGoh9e\n" +
            "0R019cDHTv/8CAS/Mx6FbSU5cDMbLAZlEcWgzpJzOi4EXD44fXGRSbtXtsaItmmB\n" +
            "dKnOb2WbuVo5fFK/u3vOBfrOg/4qbL4DIy7wNqr8ZLY=\n" +
            "-----END CERTIFICATE-----";
    //微信平台证书-公钥（BASE64加密过的字符串）
    public static String ciphertext = "sc8r0ehhp+UgGLJchySmHkE8wCzC8LcYu9UvJUSbxzEQw0SEepWbv3bxvrq/gISvRcHzU/D0X91ZcciUTQpYVqnBpy8kFl84yAJmX1i9FrLkYhCR9A6MEdCgvvZW5+Ibx+cGao8SzktAJtUXVDQHHu3TJv6uoP7sOhQk9R6JxLt60iun1g7r2KKDXjKzC6DGw0HEjD510A4bZ9VJPFWQ0/y0PKU3Ghjw7uh9OQt1p352cO7LzLNqeCzNHCtvAHWfAO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PXHZVZfQsSGBonWcQdV04VV+Rscjpp4miErv+/8fi9APb1D4IZXP6UGrKGJkPFAzNa0AemGb+0P8yMhscrDV5i7OhLA5SlhpXlGJLFwIcCEyTwYAehBBXOTmUYbMQhGBPaGqtaqVvjNWN0flCPUt7qT+MgWOqbpIigSVdz9hhi167WDEeVhDeO11KEZHMMc17J5rGIhhbEV0SYAU4WPqLP/PqeNckjnllo8MMJpIGPS62ROLArETQdXf+1UJvCrzkC4D0nJOVEXcEiJZpuHadOjS/wFBICizEY/90C4Bilh0cte4eKVEulU8NItgHVQAG/cIf99MRDqHI79+WaZSlg1Y6J1LBgIGd/ii9CeWWDVaytKEicwR7wKnfbfVsOblELVZ+gdtklkjiHV9rIFSLEaLB78HCGrffp/sJJdw6mKJeyztj8MvPWOOwXX4ZVLEw3L7K6aBc4hOjm15Om3ZSsvZbO0qmz/zmIKZbJJ2Jfio27y6PL5dGdtDt9UeV+a/TNhrJvRLWnk58tTH7OF5DgEZiqihOg3pNhSt2ivLwzw==";
    //微信平台证书解密需要的参数
    public static String associated_data = "certificate";
    //微信平台证书解密需要的参数
    public static String nonce = "dd9b891f0424";


    //商家证书序列号
    public static String WXPAY_MINE_NO = "58222C67505B4D0C3D329BE34A95B7D9D9E4A150";
    public static String WX_PAY_PRIVATE_KEY = "cloudkinto66618550391025891kinto";


    //文件类型
    public static String IMG_TYPE_PNG = "PNG";
    public static String IMG_TYPE_JPG = "JPG";
    public static String IMG_TYPE_JPEG = "JPEG";
    public static String IMG_TYPE_DMG = "BMP";
    public static String IMG_TYPE_GIF = "GIF";
    public static String IMG_TYPE_SVG = "SVG";
    public static String IMG_TYPE_CSV = "CSV";
    public static String IMG_TYPE_XLS = "XLS";
    public static String IMG_TYPE_XLSX = "XLSX";
    public static String IMG_SUFFIX = "PNG|JPG|JPEG|BMP|GIF|SVG|PDF|png|jpg|jpeg|bmp|gif|svg|pdf";
    public static String FILE_SUFFIX = "PNG|JPG|JPEG|BMP|GIF|SVG|XLS|XLSX|PDF|ZIP|RAR|DOC|DOCX|AVI|MP4|FLV|SWF|CSV|png|jpg|jpeg|bmp|gif|svg|xls|xlsx|pdf|zip|rar|doc|docx|avi|mp4|flv|swf|csv";
    public static double TAX_RATE = 1.10;
    public static String[] statusArrs = new String[]{"待入库", "待出库", "待报关", "待起运", "运输中", "清关中", "已上架"};
    /**
     * 7天
     */
    public static int lastUpdateDate = 7;
    public static String sellerId = "A8VHL7E15R0ZM";
    public static String mwsAuthToken = "amzn.mws.e8b16953-94e3-838d-5580-eb57674ab961";
    public static String marketplaceId = "A1VC38T7YXB528";
    public static String mwsHost = "mws.amazonservices.jp";
    public static String accessKey = "AKIAJXXP5KDPNBONMWAQ";
    public static String secretKey = "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";
    public static String RakutenURL = "https://api.rms.rakuten.co.jp/es/2.0";
    public static String AmazonURL = "https://mws.amazonservices.jp";

    public static final String amazonAccessKey = "AKIAJXXP5KDPNBONMWAQ";
    public static final String amazonSecret = "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";
    public static String AmazonSPURL = "https://sellercentral-japan.amazon.com/";
    public static String AmazonSPURL2 = "https://vendorcentral.amazon.co.jp/";
    public static String AmazonAuthorizeURL = "https://sellercentral.amazon.com/apps/authorize/consent";
    public static String AmazonSPRedirectURL = "https://www.cloudkinto.com/kinto/KeyBinding";
    /**
     * ===========================SP-API参数============================================
     */
    public static String amazonAppId = "amzn1.sp.solution.a1a37700-a29b-4084-9108-ba1d7997a5b7";
    public static final String AmzSpClientId = "amzn1.application-oa2-client.440a1dade8ba400da37e53fc5e2d00b9";
    public static final String AmzSpClientSecret ="amzn1.oa2-cs.v1.8ef813d863d7da0e40e7245204d949d439b9a7fca9a46e20aa87f00d13cfe4bd";

    public static String accessKeySP = "AKIA6GHPBYP7L7PNPT7G";
    public static String secretKeySP = "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";
    public static String accessSecrityKeySP = "ASIA6GHPBYP7GZTQDWVJ";
    public static String secretSecrityKeySP = "lhjWdGHYDFcajZy/dgwO4Gn2OTnTe/LXmT2OLlGV";
    /**
     * 体积上下浮动比例
     */
    public static final double volumePercentage = 0.01;


    /**
     * fba入仓统计 redis key
     */
    public static final String FBA_INPUT_KEY = "fbaInputKey";
    /**
     * 日本一件代发统计 redis key
     */
    public static final String JP_SEND_OUT_KEY = "jpSendOutKey";
    /**
     * 退货处理统计 redis key
     */
    public static final String ORDER_BACK_KEY = "orderBackKey";
    /**
     * 仓储面积统计 redis key
     */
    public static String STORAGE_AREA_KEY = "storageAreaKey";

    /**
     * ===========================Shopify参数================================
     */
    public static String ShopifySecret = "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";
    public static String ShopifyKey = "fd5b9cb19a9ab8d8223bf2f5283d3740";

    /**
     * ===========================微信公众号-筋斗云================================
     */
    public static String WX_APPID = "wx347352c84adb0cc6";
    public static String WX_APPSECRET = "1f7a8759ada6a8e40cc89f89976d3fb4";
    public static String WX_TOKEN = "cloudkinto";
    public static String WX_EncodingAESKey = "ZpS0daNQskHPxMdjmLW60WRpSvbF8nWPjAox3rdphR0";

    /**
     * 远东
     */
    public static String AmazonSPAPIURL = "https://sellingpartnerapi-fe.amazon.com";

    /**
    * tiktok redis中的常量
    * */
    public static String TiktokAccessToken = "tiktok_access_token:";
    public static String TiktokRefreshToken = "tiktok_refresh_token:";
    public static String TiktokExpiresIn = "tiktok_access_token_expires_in:";
    public static String TiktokRefreshExpiresIn = "tiktok_refresh_token_expires_in:";
    public static  String TiktokShopId="tiktok_shop_id_new";
    public static String TiktokShopCipher="tiktok_shop_cipher:";
}
